
namespace JTZY.Model.Order.Dto
{
    /// <summary>
    /// 售后单明细表查询对象
    /// </summary>
    public class CorecmsbillaftersalesitemQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 售后单明细表输入输出对象
    /// </summary>
    public class CorecmsbillaftersalesitemDto
    {
        [Required(ErrorMessage = "序列不能为空")]
        public int Id { get; set; }

        [Required(ErrorMessage = "售后单id不能为空")]
        public string AftersalesId { get; set; }

        [Required(ErrorMessage = "订单明细ID 关联order_items.id不能为空")]
        public int OrderItemsId { get; set; }

        [Required(ErrorMessage = "商品ID 关联goods.id不能为空")]
        public int GoodsId { get; set; }

        [Required(ErrorMessage = "货品ID 关联products.id不能为空")]
        public int ProductId { get; set; }

        public string Sn { get; set; }

        public string Bn { get; set; }

        public string Name { get; set; }

        [Required(ErrorMessage = "图片不能为空")]
        public string ImageUrl { get; set; }

        [Required(ErrorMessage = "数量不能为空")]
        public int Nums { get; set; }

        public string Addon { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreateTime { get; set; }

        public DateTime? UpdateTime { get; set; }



    }
}